package com.dh.example.netty.pojo.response.support;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ws消息登录成功
 *
 * @author yolo
 * @date 2024/03/14 14:02:14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WsMsgLoginSuccess {
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 头像
     */
    private String avatar;
    /**
     * 令牌
     */
    private String token;
    /**
     * 姓名
     */
    private String name;

    /**
     * 用户权限 0普通用户 1超管
     */
    private Integer power;
}
